/**
 * 
 */
package com.ruyipu.forum.activity;

import org.json.JSONObject;

import android.os.Bundle;
import android.widget.Button;

import com.ruyipu.forum.R;
import com.ruyipu.forum.base.Header;

/**
 * @author donald
 * 
 */
public class UserRegister extends BaseActivity {

	// private EditText etRegisterUserName;
	// private EditText etRegisterEmail;
	// private EditText etRegisterPassword;
	private Button bRegister;

	private String sUsername;
	private String sEmail;
	private String sPassword;
	private String sGender;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Override
	protected void makeWidget() {
		setContentView(R.layout.user_register);

		myHeader = new Header(this, R.string.register);

		// etRegisterUserName = (EditText)
		// findViewById(R.id.etRegisterUserName);
		// etRegisterEmail = (EditText) findViewById(R.id.etRegisterEmail);
		// etRegisterPassword = (EditText)
		// findViewById(R.id.etRegisterPassword);
		bRegister = (Button) findViewById(R.id.bRegister);
	}

	@Override
	protected void initWidget() {
	}

	@Override
	protected void updateData(JSONObject jsonObject) {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected void loadLocalData() {
		// TODO Auto-generated method stub
		
	}

//	@Override
//	protected void initThread() {
//		myThread = new Runnable() {
//
//			public void run() {
//				sUsername = "zhaoyueyu";
//				sPassword = "donald@126.comm";
//				sEmail = "917013857@qq.com";
//				sGender = "m";
//				UserModel.getInstance().register(UserRegister.this,
//						resultCallback, sUsername, sEmail, sPassword, sGender);
//			}
//		};
//	}
}
